<?php

class Application_Form_Cenquiry extends Zend_Form
{

    public function init()
    {
        $this->setName('Customer');
        
        $cust_no = new Zend_Form_Element_Text('cust_no');
        $cust_no->setLabel('Customer No')
        	->addFilter('StripTags')
        	->addFilter('StringTrim')
        	->setAttrib('class', 'short')
        	->setAttrib('id', 'left');
        $cust_first_name = new Zend_Form_Element_Text('cust_first_name');
        $cust_first_name->setLabel('First Name')
        	->addFilter('StripTags')
        	->addFilter('StringTrim')
        	->setAttrib('class', 'short')
        	->setAttrib('id', 'left');
        $cust_last_name = new Zend_Form_Element_Text('cust_last_name');
        $cust_last_name->setLabel('Last Name')
        	->addFilter('StripTags')
        	->addFilter('StringTrim')
        	->setAttrib('class', 'short')
        	->setAttrib('id', 'right');
        $cust_suburb = new Zend_Form_Element_Text('cust_suburb');
        $cust_suburb->setLabel('Suburb')
        	->addFilter('StripTags')
        	->addFilter('StringTrim')
        	->setAttrib('class', 'short')
        	->setAttrib('id', 'left');
        $cust_post_code = new Zend_Form_Element_Text('cust_post_code');
        $cust_post_code->setLabel('Post Code')
        	->addFilter('StripTags')
        	->addFilter('StringTrim')
        	->setAttrib('class', 'short')
        	->setAttrib('id', 'right');
        $cust_phone = new Zend_Form_Element_Text('cust_phone');
        $cust_phone->setLabel('Phone')
        	->addFilter('StripTags')
        	->addFilter('StringTrim')
        	->setAttrib('class', 'short')
        	->setAttrib('id', 'left');
        
        $submit = new Zend_Form_Element_Submit('submit');
        $submit->setAttrib('id', 'submit');
        
        
        
        $this->addElements(array($cust_no, $cust_first_name, $cust_last_name, $cust_suburb, $cust_post_code, $cust_phone, $submit));
    }


}

